import {types} from 'mobx-state-tree'

const {optional, model} = types

const AuthModel = model("AuthModel", {
  token: "none"
})

const RootStore = model({
  authStore: optional(AuthModel, {})
}) 

const rootStore = RootStore.create()

console.log(rootStore.authStore.token) // none

